package service;

import log.LogWrite;
import dao.CardManage;

public class CardService {

	LogWrite logWrite;
	CardManage cardManage;
	
	
	public CardService(LogWrite logWrite){
		this.logWrite = logWrite;
		cardManage = new CardManage(logWrite);
	}
	
	public int addCard(String memberName, char cardType, String validCnt){
		return cardManage.addCard(memberName, cardType, validCnt);
	}
	
}
